package com.adaxi.adc.business.manager.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 司机及车辆信息表
 * @TableName adc-vehicle
 */
@TableName(value ="adc_vehicle")
@Data
public class Vehicle implements Serializable {
    /**
     * 车辆ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 车牌号码
     */
    @TableField(value = "vehicle_license")
    private String vehicleLicense;

    /**
     * 车辆载人数
     */
    @TableField(value = "seat_capacity")
    private Integer seatCapacity;

    /**
     * 司机的真实姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 司机用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 注册时间
     */
    @TableField(value = "register_time")
    private Date registerTime;

    /**
     * 逻辑删除状态字段: 0 表示未删除, 1 表示已删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    /**
     * 司机头像
     */
    @TableField(value = "vehicle_photo")
    private String vehiclePhoto;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    @TableField(exist = false)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private VehicleTrip vehicleTrip;
}